package com.cnhis.cloudhealth.clinical.hosnurse.hosinspectionreport.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;

@Repository
public class HosInspectionReportDao extends BaseDao{
	public List viewInspectionReport(Map map)throws Exception{
		return queryForList("HosInspectionReport.viewInspectionReport", map);
	}
	public List findDefaultDevice()throws Exception{
		return queryForList("HosInspectionReport.findDefaultDevice", null);
	}
	public List nurseViewInspectionReport(Map map)throws Exception{
		return queryForList("HosInspectionReport.nurseViewInspectionReport", map);
	}
	public List reportImage(Map map)throws Exception{
		return queryForList("HosInspectionReport.reportImage", map);
	}
	public List doctorViewInspectionReport(Map map)throws Exception{
		return queryForList("HosInspectionReport.doctorViewInspectionReport", map);
	}
	public List doctorViewInspectionReportResult(Map map)throws Exception{
		return queryForList("HosInspectionReport.doctorViewInspectionReportResult", map);
	}
	public int BLP58(Map map)throws Exception{
		return (int) queryForExtObject("HosInspectionReport.BLP58", map);
		
	}
	public Page patientDynamicMonitor(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosInspectionReport.patientDynamicMonitor", map, currPage, pageSize);
	}
	public Page dangerValueTips(Map map,int currPage,int pageSize) throws Exception{
		return queryForPage("HosInspectionReport.dangerValueTips", map, currPage, pageSize);
	}
}
